const tokenName = 'tokenTestHealth';

//存token
function setToken(token){
	uni.setStorageSync(tokenName, token);
}

//取token
function getToken(){
	return uni.getStorageSync(tokenName);
}

//删除token
function removeToken() {
	uni.removeStorageSync(tokenName);
}

//暴露
export default { setToken, getToken, removeToken }